<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en"
      xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html">
    <ui:composition template="/template.xhtml">

        <ui:define name="title">Simple Greeting</ui:define>
        <ui:define name="head">Simple Greeting</ui:define>
        <ui:define name="content">
            <h:form id="greetme">
                <p><h:outputLabel value="Enter your name: " for="name"/>
                    <h:inputText id="name" value="#{printer.name}"/></p>
                <p><h:commandButton value="Say Hello" action="#{printer.createSalutation}"/></p>
                <p><h:outputText value="#{printer.salutation}"/> </p>



                <h:inputText value="#{helloBean.name}"></h:inputText>
                <h:commandButton value="Welcome Me" action="welcome"></h:commandButton>
            </h:form>
        </ui:define>

    </ui:composition>
</html>

